﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ShopSite.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="ShoppingWebSite.Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="css/ShopSite.css" />
    <style>
        #Content{
            width:500px;
            margin:0px auto;
            padding-bottom:30px;
        }
        #Content div{
            margin-top:30px;
        }
        .txtUserName,.txtPwd{
            width:200px;
            height:25px;
            border:1px solid green;
            border-radius:3px;
        }
        .btnSubmit{
            width:140px;
            height:30px;
            background-color:#08af12;
            border:1px solid green;
            color:white;
            border-radius:3px;
            letter-spacing:10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="Content">
        <h2>FREE用户注册</h2>
        <div>
            <span>用户名：</span>
            <asp:TextBox ID="txtUserName" runat="server" CssClass="txtUserName" AutoCompleteType="Disabled"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                ForeColor="Red" ErrorMessage="用户名必须输入"></asp:RequiredFieldValidator>
        </div>
        <div>
            <span>密&nbsp;&nbsp;&nbsp;&nbsp;码：</span>
            <asp:TextBox ID="txtPwd" runat="server" CssClass="txtPwd" AutoCompleteType="Disabled"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
                ForeColor="Red" ErrorMessage="密码必须输入"></asp:RequiredFieldValidator>
        </div>
        <div>
            <span>姓&nbsp;&nbsp;&nbsp;&nbsp;名：</span>
            <asp:TextBox ID="txtRealName" runat="server" CssClass="txtPwd" AutoCompleteType="Disabled"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtRealName"
                ForeColor="Red" ErrorMessage="真实姓名必须输入"></asp:RequiredFieldValidator>
        </div>
        <div>
            <span>手&nbsp;&nbsp;&nbsp;&nbsp;机：</span>
            <asp:TextBox ID="txtTel" runat="server" CssClass="txtPwd" AutoCompleteType="Disabled"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtTel"
                ForeColor="Red" ErrorMessage="电话号码必须输入"></asp:RequiredFieldValidator>
        </div>
        <div>
            <asp:Button ID="btnSubmit" runat="server" Text="注册" CssClass="btnSubmit" OnClick="btnSubmit_Click" />
        </div>
    </div>
</asp:Content>
